package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * (测试)上传表对象 seg_upload_detail
 * 
 * @author ruoyi
 * @date 2022-12-26
 */
public class SegUploadDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 上传令牌 */
    @Excel(name = "上传令牌")
    private String uploadToken;

    /** 图片名 */
    @Excel(name = "图片名")
    private String imgName;

    /** 相对路径 */
    @Excel(name = "相对路径")
    private String imgPath;

    /** 过期时间 */
    @Excel(name = "过期时间")
    private String leftTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUploadToken(String uploadToken) 
    {
        this.uploadToken = uploadToken;
    }

    public String getUploadToken() 
    {
        return uploadToken;
    }
    public void setImgName(String imgName) 
    {
        this.imgName = imgName;
    }

    public String getImgName() 
    {
        return imgName;
    }
    public void setImgPath(String imgPath) 
    {
        this.imgPath = imgPath;
    }

    public String getImgPath() 
    {
        return imgPath;
    }
    public void setLeftTime(String leftTime) 
    {
        this.leftTime = leftTime;
    }

    public String getLeftTime() 
    {
        return leftTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("uploadToken", getUploadToken())
            .append("imgName", getImgName())
            .append("imgPath", getImgPath())
            .append("leftTime", getLeftTime())
            .toString();
    }
}
